<!--
 * @description  : 真烟流动菜单
 * @descriptionDetail: 真烟流动菜单
 * @copyright    : 浙江烟草
 * @author       : lcm
 * @create       : 2022-09-27 09:58:58
-->
<template>
  <view>
    <!-- #ifdef H5-ONLY -->
    <theme-navbar
      :is-white="false"
      :title="title"
      :custom-back="goBack"
      style="z-index: 99999"
    > 
    </theme-navbar>
    <!-- #endif -->
    <view style="height:100%;">
      <u-row gutter="16">
        <u-col span="12">
          <view class="list-item" @tap="letseized(0)">
            <u-icon
              :label="seized"
              size="32"
              style="font-weight: 600"
              label-size="30"
              label-color="#333" 
              name="../../../static/internal/in_icon.png"
            ></u-icon>
          </view>
        </u-col>
        <u-col span="12">
          <view class="list-item" @tap="letseized(1)">
            <u-icon
              :label="passseized"
              size="32"
              style="font-weight: 600"
              label-size="30"
              label-color="#333" 
              name="../../../static/internal/out_icon.png"
            ></u-icon>
          </view>
        </u-col>
      </u-row>
    </view>
  </view>
</template>
<script>
export default {
  data(){
    return{
      title:'真烟流动',
      seized:' 查获卷烟',
      passseized:' 被查获卷烟',
      seizedVal:'',
    };
  },
  methods:{
    letseized(seizedVal){
      if(seizedVal == '0'){
        this.$deviceApi.buriedPointFunction && this.$deviceApi.buriedPointFunction('点击查获卷烟菜单');
      }else{
        this.$deviceApi.buriedPointFunction && this.$deviceApi.buriedPointFunction('点击被查获卷烟菜单');
      }
      this.$u.route("pages/internal/dataView/ralCigFlowPage",{seizedVal:seizedVal,},);
    },
  }, 
}
</script>
<style lang="scss" scoped>
$height: 50px;
.list-item {
  height: $height;
  line-height: $height + 5px;
  margin: 5px 5px;
  font-weight: bold;
  font-size: 14px;
  color: #666;
  padding: 0px 20px;
  box-shadow: 3px 3px 15px #d3d2d2;
  border-radius: 8px;
}
</style>